package breadbox.pastry;

import java.net.InetAddress;

public class Connection {
	private InetAddress ip;
	private int port;
	
	public Connection() {}
	
	public Connection(InetAddress ip, int port) {
		this.ip = ip;
		this.port = port;
	}
	
	void setPort(int ip) {
		this.port = ip;
	}
	
	int getPort() {
		return this.port;
	}
	
	void setIp(InetAddress ip) {
		this.ip = ip;
	}
	
	InetAddress getIp() {
		return this.ip;
	}
}
